package com.binance.notification.api.response;

import java.math.BigDecimal;
import java.util.Date;

import com.binance.master.commons.ToString;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel(value = "价格提醒响应体")
@Setter
@Getter
public class AlertPriceResponse extends ToString {

    private static final long serialVersionUID = -3330127952415667034L;

    @ApiModelProperty(value = "ID", dataType = "Long")
    private Long id;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "基础资产货币")
    private String baseAsset;
    @ApiModelProperty(value = "标价资产货币")
    private String quoteAsset;

    @ApiModelProperty(value = "设置价格")
    private BigDecimal price;

    @ApiModelProperty(value = "设定时的交易对价格")
    private BigDecimal lastPrice;

    @ApiModelProperty(value = "突破方向,1 / 2 (1、向上 2、向下）")
    private byte side;

    @ApiModelProperty
    private Date createTime;
}
